package com.example.java_concurrency;

/**
 * Author：young
 * .
 * Time： 25/9/2023 上午1:15 周一
 * .
 * Desc：高并发编程第一阶段08讲、构造Thread对象你也许不知道的几件事
 *
 *
 * https://www.bilibili.com/video/BV1Xp4y1h7k4/?p=8&vd_source=e07cc8cc94eb22bd76722071b03cd199
 *
 */
public class CreateThread {
    public static void main(String[] args) {
        Thread t1 = new Thread(){
            @Override
            public void run() {

            }
        };
        Thread t2 = new Thread(){
            @Override
            public void run() {

            }
        };

        System.out.println(t1.getName());
        System.out.println(t2.getName());
    }
}
